﻿using System.Net;

namespace CommonEntity
{
    public class ViewModelBase
    {
        public HttpStatusCode code { get; set; }

        /// <summary>
        /// 返回data
        /// </summary>
        public Object data { get; set; }

        /// <summary>
        /// 提示信息
        /// </summary>
        public string message { get; set; }

        public object yanfa { get; set; }
    }

    public class ViewModelBase<T>
    {
        public HttpStatusCode code { get; set; }

        /// <summary>
        /// 返回data
        /// </summary>
        public T data { get; set; }

        /// <summary>
        /// 提示信息
        /// </summary>
        public string message { get; set; }

        public object yanfa { get; set; }
    }
}